#!/bin/bash

script_dir=$(dirname $(realpath $0))
source "${script_dir}/config"

qemu-system-arm \
	-M vexpress-a9 \
    -kernel "${linux}/arch/arm/boot/zImage" \
    -dtb "${linux}/arch/arm/boot/dts/arm/vexpress-v2p-ca9.dtb" \
	-sd "${tmpdir}/rootfs.ext4" \
	-append "root=/dev/mmcblk0 rw console=ttyAMA0" \
	-nographic 